﻿namespace CyberConnect.Insteon
{
    /// <summary>
    /// Enumerates the commands the PLM understands
    /// </summary>
    internal enum PlmCommand
    {
        /// <summary>
        /// No PLM Command.
        /// </summary>
        None = 0x00,

        /// <summary>
        /// Send either a standard or extended message. (Denoted by <see cref="CyberConnect.Insteon.Messaging.MessageConfiguration">MessageConfiguration</see>).
        /// </summary>
        SendMessage = 0x62,

        /// <summary>
        /// INSTEON Standard Message Received.
        /// </summary>
        StandardMessageReceived = 0x50,

        /// <summary>
        /// INSTEON Extended Message Received.
        /// </summary>
        ExtendedMessageReceived = 0x51,

        /// <summary>
        /// Get PLM Configuration.
        /// </summary>
        GetPlmConfiguration = 0x73,

        /// <summary>
        /// Set PLM Configuration
        /// </summary>
        SetPlmConfiguration = 0x6B,

        /// <summary>
        /// Activate the PLM's LED
        /// </summary>
        PlmLedOn = 0x6D,

        /// <summary>
        /// Deactive the PLM's LED
        /// </summary>
        PlmLedOff = 0x6E,

        /// <summary>
        /// Button Event Report
        /// </summary>
        ButtonEventReport = 0x54
    }
}